-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chromium and node #22
Conversation
@@ -20,10 +20,10 @@ jobs: | |||
- uses: actions/checkout@v3 | |||
- uses: volta-cli/action@v1 | |||
with: | |||
node-version: 14.x | |||
node-version: 18.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should upgrade to use 20
headless: chromium.headless, | ||
ignoreHTTPSErrors: true, | ||
executablePath: chromiumPath, | ||
headless: !!process?.env?.BROWSER_HEADLESS === false ? false : true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should follow what the spazium lib does: https://github.com/Sparticuz/chromium?tab=readme-ov-file#usage and use chromium.headless
"puppeteer-core": "^13.5.1", | ||
"puppeteer-report": "^3.0.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"volta": { | ||
"node": "14.19.1" | ||
"node": "18.16.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, should use node 20
No description provided.